package com.tj.collection.service.dto;

/**
 * 通话记录
 *
 * @author: moss
 * 2018/9/5
 */
public class PhoneCallRecordItemVO {
    /**
     * 最后一次通话时间(时间戳)
     */
    private Long lastTime;
    private String lastTimeStr;
    private String phone;
    private String name;

    private String callInAndOut;

    /**
     * 命中商户或机构字库名称
     */
    private String mechanism;
    /**
     * 归属地
     */
    private String attribution;
    /**
     * 呼出次数
     */
    private Integer callOutCount;
    /**
     * 呼入次数
     */
    private Integer callInCount;
    /**
     * 通话总时长(s)
     */
    private Integer totalCallDuration;

    private Integer abnormal;

    public Integer getAbnormal() {
        return abnormal;
    }


    public String getLastTimeStr() {
        return lastTimeStr;
    }

    public void setLastTimeStr(String lastTimeStr) {
        this.lastTimeStr = lastTimeStr;
    }

    public PhoneCallRecordItemVO setAbnormal(Integer abnormal) {
        this.abnormal = abnormal;
        return this;
    }

    public PhoneCallRecordItemVO() {
    }

    public String getCallInAndOut() {
        return callInAndOut;
    }

    public PhoneCallRecordItemVO setCallInAndOut(String callInAndOut) {
        this.callInAndOut = callInAndOut;
        return this;
    }

    public PhoneCallRecordItemVO(Long lastTime, Integer callOutCount, Integer callInCount, Integer totalCallDuration) {
        this.lastTime = lastTime;
        this.callOutCount = callOutCount;
        this.callInCount = callInCount;
        this.totalCallDuration = totalCallDuration;
    }

    public Long getLastTime() {
        return lastTime;
    }

    public PhoneCallRecordItemVO setLastTime(Long lastTime) {
        this.lastTime = lastTime;
        return this;
    }

    public String getPhone() {
        return phone;
    }

    public PhoneCallRecordItemVO setPhone(String phone) {
        this.phone = phone;
        return this;
    }

    public String getMechanism() {
        return mechanism;
    }

    public PhoneCallRecordItemVO setMechanism(String mechanism) {
        this.mechanism = mechanism;
        return this;
    }

    public String getAttribution() {
        return attribution;
    }

    public PhoneCallRecordItemVO setAttribution(String attribution) {
        this.attribution = attribution;
        return this;
    }

    public Integer getCallOutCount() {
        return callOutCount;
    }

    public PhoneCallRecordItemVO setCallOutCount(Integer callOutCount) {
        this.callOutCount = callOutCount;
        return this;
    }

    public Integer getCallInCount() {
        return callInCount;
    }

    public PhoneCallRecordItemVO setCallInCount(Integer callInCount) {
        this.callInCount = callInCount;
        return this;
    }

    public Integer getTotalCallDuration() {
        return totalCallDuration;
    }

    public PhoneCallRecordItemVO setTotalCallDuration(Integer totalCallDuration) {
        this.totalCallDuration = totalCallDuration;
        return this;
    }

    public String getName() {
        return name;
    }

    public PhoneCallRecordItemVO setName(String name) {
        this.name = name;
        return this;
    }
}
